package com.tedu.weibo.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
@Data
public class CommentVO {
    @ApiModelProperty(value = "评论内容",required = true,example = "你好啊")
    private String content;
    @ApiModelProperty(value = "发布时间",required = true,example = "2024年09月21号")
    @JsonFormat(pattern = "yyyy年MM月dd号 HH:mm:ss",timezone = "GMT+8")
    private Date created;
    @ApiModelProperty(value = "评论ID",required = true,example = "1")
    private Integer id;
    @ApiModelProperty(value = "用户昵称",required = true,example = "张三")
    private String nickname;
}
